home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac-Source 1994 July
/
Mac-Source_July_1994.iso
/
C and C++
/
Text⁄Files
/
File List 14
/
Stack.h
< prev
next >
Wrap
Text File
|
1990-09-14
|
340b
|
20 lines
/*
FileList 1.4
"Stack.h"
*/
#define STACKERROR (unsigned long)0xFFFFFFFF
#define STACKSIZE 128
typedef unsigned long STACKELEMENT;
typedef struct {
STACKELEMENT *pointer;
STACKELEMENT *max;
STACKELEMENT stack[STACKSIZE];
} STACK;
void InitStack (STACK *);
STACKELEMENT PopStack (STACK *);
short PushStack (STACK *, STACKELEMENT);